package com.syni.mdd.sjb.common.datatreaure.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.syni.mdd.sjb.common.component.mybatis.dxshapp.entity.DxshAppMinappAuth;
import com.syni.mdd.sjb.common.component.utils.common.utils.RpcResponseVo;
import com.syni.mdd.sjb.common.component.utils.feign.dto.mddAll.apiBusiness.CertificationBusinessDto;

/**
 * <p>
 * 小程序资质信息表 服务类
 * </p>
 *
 * @author lcc
 * @since 2020-05-18
 */
public interface DxshAppMinappAuthService extends IService<DxshAppMinappAuth> {

    RpcResponseVo certificationBusiness(CertificationBusinessDto certificationBusinessDto, DxshAppMinappAuth dxshAppMinappAuth);

    DxshAppMinappAuth createAuth(Integer userId,Integer businessId,Integer authId);

    DxshAppMinappAuth getListByChannelIdAndUserId(Integer channelId,Integer userId);

    void deleteChannelData(Integer id);

    DxshAppMinappAuth getMinAppAuthByChannelId(Integer channedId);
}
